<template>
	<view class="">
		<view class="resume_basics">
			<view class="Education_text">
				<text>教育经历</text>
				<u-icon name="plus" color="#3E403F" size="28" style="margin-left: 15rpx;"  @click="GoBasics"></u-icon>
			</view>
			<view class="Education_box" v-if="!educationData.length">
				<view class="work_hide">
					添加教育经历
				</view>
			</view>
			<view class="Education_box" v-if="educationData.length" v-for="(item,index) in educationData" :key='index' @click="GoDisplay(index)">
				<view class="Education_xxname">
					{{item.jyjlxxmc || "学校名称"}}
					<u-icon name="arrow-right" color="#999999" size="25" style="margin-left: 15rpx;"></u-icon>
				</view>
				<view class="Education_info">
					<text>郑州</text> <text>{{item.jyjlzymc||"专业名称"}}</text> <text>大专</text><!-- <text>建筑工程</text> -->
				</view>
				<view class="Education_time">
					{{item.jyjlkssj || "开始时间"}} - {{item.jyjljssj || "结束时间"}}
				</view>
				<view class="Education_zs">
					土木建筑一级证书
				</view>
			</view>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		props: {
			educationData: {
				type: Array,
				default () {
					return []
				}
			},
			colid: {
				type: String,
				required: true
			}
		},
		methods: {
			GoBasics() {
				this.$u.route('/pages/HomeLnner/ResumeSon/SonEducation', {
					id: this.colid
				});
			},
			GoDisplay(index){
				this.$u.route('/pages/HomeLnner/ResumeSon/SonEducation', {
					id: this.colid,
					index:index
				});
			}
		}
	}
</script>

<style scoped lang="scss">
		@import "./resume.scss";
</style>
